﻿import avalon from 'avalon2';
// import store from './store'
// import router from './router'
// import App from './App.js'

// avalon.config({
//   debug: true,
//   local: true
// })

// avalon.bootstrap({
//   el: '#app',
//   component: App
// })
require('./libs/mmRouter');
require('./index.scss');
var vm = avalon.define({
    $id: "test",
    name: "avalon",
    mouseenterText: ":click事件",
    hoverClass: "hover",
    array: [11,22,33],
    clickfn: function(){
        alert(':click事件');
    },
    mouseenterfn: function(){
        this.mouseenterText = ':mouseenter事件'
    },
    mouseleavefn: function(){
        this.mouseenterText = ':click事件'
    }
});